package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Phone;
import com.ruoyi.system.domain.Phones;
import com.ruoyi.system.domain.WxUser;

import java.util.List;

/**
 * 
 */
public interface PhoneMapper {
    /**
     * 根据条件分页查询微手机号数据
     * 
     * @return 手机号数据集合信息
     */
    public List<Phone> selectPhoneList(Phone phone);
    public List<Phone> selectPhoneData(Phone phone);

    public int insertPhone(Phone phone);
    public int insertBatchPhone(List<Phone> phones);

    public Phone getEntityByPhone(Phone phone);


    public int updatePhone(Phone phone);
    public void updateBatchFlag(Phones phones);

    /**
     * 获取重复的数据集
     * @return
     */
    public List<Phone> getRepeatPhoneData();

    public int deleteBatchPhone(List<Phone> phones);

    public int deletePhone(Phone phone);

}
